//
//  GKZYScoreQueryViewController.m
//  GKZYAid
//
//  Created by tony on 16/2/27.
//  Copyright © 2016年 GKZYAid. All rights reserved.
//

#import "GKZYScoreQueryViewController.h"
#import "MyDefine.h"
#import "GKZYSortLeftBarButtonItemView.h"

@implementation GKZYScoreQueryViewController

-(void)loadView{

    [super loadView];
    UIWebView *webView = [[UIWebView alloc]initWithFrame:CGRectMake(0, 0, VCWIDTH, VCHEIGHT)];
    webView.scrollView.showsVerticalScrollIndicator = NO;
    webView.scrollView.bounces = NO;
    [webView loadRequest:[NSURLRequest requestWithURL:[NSURL URLWithString:@"http://www.baidu.com"]]];
    [self.view addSubview:webView];
    
  
}


-(void)viewDidLoad{

    
    [super viewDidLoad];
    self.view.backgroundColor = [UIColor whiteColor];
    GKZYSortLeftBarButtonItemView *button = [[GKZYSortLeftBarButtonItemView alloc]initWithFrame:CGRectMake(0, 0, 60, 30)];
    UITapGestureRecognizer *tap = [[UITapGestureRecognizer alloc]initWithTarget:self action:@selector(back)];
    [button addGestureRecognizer:tap];
    UIBarButtonItem *buttonBBI = [[UIBarButtonItem alloc]initWithCustomView:button];
    self.navigationItem.leftBarButtonItem = buttonBBI;

}


-(void)back{

    [self.navigationController popViewControllerAnimated:YES];

}


@end
